<%--
  Created by IntelliJ IDEA.
  User: zhan
  Date: 2018/9/9
  Time: 16:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <title>用户编辑页面</title>
</head>
<body>
    <form id="itemForm" action="saveOrUpdate" method="post">
        <input hidden name="id" value="${user.id}">
        <table width="100%" border=1>
            <tr>
                <td>用户名：</td>
                <td><input type="text" name="userName" value="${user.userName}"></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="text" name="userPassword" value="${user.userPassword}"></td>
            </tr>
            <tr>
                <td>年龄：</td>
                <td><input type="text" name="age" value="${user.age}"></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="保存">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
